{template 'phpcms','header'}
<script src="images/js/manualScroll-0.1.4.js" type="text/javascript"></script>
<script type="text/javascript">  
$(document).ready(function(){  
      
    $.manualScroll({  
        objId:"scrollDiv",  
        showArea:"showArea",  
        showTitle: true,  
        height:100,  
        width:123,  
        line:4,  
        speed:1000  
    });  
  
});  
  
</script> 
    <!--通栏广告-->
    <div class="adv980x70 mt10">
<!--AdForward Begin:-->

<!--AdForward End-->
</div>
<!--主体 -->
<div class="pw oh fix z">    
<!--导航条 -->
	<div class="location"><a href="">首页</a>{catpos($r['catid'])}<strong>详细信息</strong></div>
	<!--产品图片展示 -->
	<div class="pro">
		<!--图片区 -->
		<div class="pro-img ">
			
		  <!--大图区 -->		  
		  <div id="showArea" class="pro-img-big"></div> 
		  <!--缩略图 --> 
			<div id="scrollDiv">  
			  <ul>  
			  {loop $array_images $j $img}
				  <li><a href="#"><img src="{$img[filepath]}" alt="" width="122"/></a></li>
	          {/loop}
			 </ul>  
			</div>  
		</div>
		<!--文字区 -->
		<div class="pro-text ">
			<h2>{if $titleintact}{$titleintact}{else}{$title}{/if}</h2>
			<div class="price">价格：<span>￥{$price}元/{$unit}</span></div>
			<div class="count">热度：{if $PHPCMS[show_hits]}<span id="hits">0</span>{/if}个人感兴趣</div>			
			<div class="seller">商家：<b>{if $author}{$author}{else}{$userid}{/if}</b></div>
			<div class="desc">{$description}</div>
			<div class="key"><span>推荐关键字</span>{$keywords}</div>
			<div class="button mt10"><a class="btn" href="" target="_blank">去淘宝购买</a></div>
		</div>
	</div>
	<!--产品介绍 -->
	<div class="pro">
		<!--产品描述 -->
		<div class="pro-detail">
			<div class="title">产品介绍</div>
			<div class="content">
				{$content}
			</div>
			<div>
				<h2 class="bdtit mt20"><span class="titName"><strong>相关商情</strong></span></h2>
        <ul class="mig comp_list30">
              {tag_内容页相关信息}
              </ul>
			</div>
		</div>
	  <!--推荐产品 -->
	  <div class="pro-recommand">
	  	<div class="hot-pro">
			<div class="title">热门产品</div>
			<div class="pro-list">
				<ul>
					{tag_产品内容页推荐}
				</ul>
			</div>
		</div>
		<div class="clear"></div>
		<div class="recommand-pro mt10">
			<div class="title">推荐产品</div>
			<div class="pro-list">
				<ul>
					{tag_产品内容页推荐}
				</ul>
			</div>
		</div>
		<div class="clear"></div>
		<div class="recommand-pro mt10">
			<div class="title">推荐商家</div>
			<ul class="recShops bg">
<!--{get sql="select c.catid,c.catname, c.image,c.description,c.url from phpcms_category c where c.parentid=23 and c.image!=''" rows="5"}-->
              <li><a href="{$r[url]}"  target="_blank"><img src="{thumb($r[image],124,75)}" width="124" height="75" alt="{$r[catname]}"/><strong>{$r[catname]}</strong></a></li>
<!--{/get}--> 
	        </ul>
		</div>
	  </div>
	</div>
</div>    
<script language="JavaScript" src="count.php?contentid={$contentid}"></script>
{template 'phpcms','footer'}    